package com.dingdang.service.admin;

import com.dingdang.mapper.AdminMapper;
import com.dingdang.model.Admin;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminServiceImpl implements AdminService {

    @Resource
    private AdminMapper mapper;

    @Override
    public int getAdminByUserNameAndPassWord(Admin admin) {return  mapper.getAdminByUserNameAndPassWord(admin);}

}
